package com.bwie.service.imp;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bwie.mapper.ListMapper;
import com.bwie.pojo.Good;
import com.bwie.service.GoodService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class GoodServiceImpl extends ServiceImpl<ListMapper, Good> implements GoodService {

    @Autowired
    private ListMapper listMapper;


    @Override
    public Page<Good> pageList(Page<Good> objectPage) {
        return listMapper.pageList(objectPage);
    }
}
